<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
	<head>

		<title><s:property value="notice.title" />
		</title>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/gonggaolan.css" />
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/splitPage.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/showTickets.css">
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.3.1.js"></script>
			<script type="text/javascript">
		 jQuery(document).ready(function() {
		     jQuery(".xtable tr").mouseover(function() {   
		         jQuery(this).addClass("ovr");  
		     }).mouseout(function() {
		         jQuery(this).removeClass("ovr");
		     });
		     jQuery(".xtable tr:even").addClass("even"); 
	 	}); 
		 $(function(){
				$("#page").change(function(){
					var page = $("#page").val();
					window.location.href="ArrangeInfo!getAllFlightArrangeInfo?page=" + page;
				});
			});
	</script>
	</head>

	<body>
		<div class="box">
			<jsp:include page="top.jsp"></jsp:include>
		<div id="main">
			<div id="main-top"></div>
			<div id="main-main">
				<table width="100%" border="0" class="xtable" id="xtable">
					<s:iterator value="pageBean.list">
						<tr>
							<td height="30" width="25%">
								<s:property value="createDate" />
							</td>
							<td width="75%">
								<a
									href="NoticeInfo!getNoticeInfoByID?notice.id=<s:property value="id"/>"><s:property
										value="title" /> </a>
							</td>
						</tr>
					</s:iterator>
				</table>
				</td>
				</tr>
				<table width="100%">
					<tr height="40">
						<td width="30%" align="left">
							共检索到
							<s:property value="pageBean.allRow" />
							条记录
						</td>
						<td align="right" id="pagelist">
							<ul>
								<li>
									<select name="page" id="page">
										<s:iterator value="pageBean.pageNumbers" status="pageNumbers">
											<s:iterator value="pageBean.pageNumbers[#pageNumbers.index]">
												<option value="<s:property/>">
													<s:property />
												</option>
											</s:iterator>
										</s:iterator>
									</select>
								</li>
								<li class="pageinfo">
									共
									<s:property value="pageBean.totalPage" />
									页
								</li>
								<li class="pageinfo">
									第
									<s:property value="pageBean.currentPage" />
									页
								</li>
								<s:if test="%{pageBean.currentPage != pageBean.totalPage}">
									<li>
										<a
											href="NoticeInfo!getAllNoticeInfo?page=<s:property value="pageBean.totalPage"/>">尾页</a>
									</li>
									<li>
										<a
											href="NoticeInfo!getAllNoticeInfo?page=<s:property value="%{pageBean.currentPage+1}"/>">下一页</a>
									</li>
								</s:if>
								<s:if test="%{pageBean.currentPage == 1}"></s:if>
								<s:else>
									<li>
										<a
											href="NoticeInfo!getAllNoticeInfo?page=<s:property value="%{pageBean.currentPage-1}"/>">上一页</a>
									</li>
									<li>
										<a href="NoticeInfo!getAllNoticeInfo?page=1">首页</a>
									</li>
								</s:else>
							</ul>
						</td>
					</tr>
				</table>

			</div>
		</div>
		<div class="bottom">
    
    <table width="100%" border="0"  class="STYLE4" style="font-size: 12px" >
    <tr>
    <td><br/></td>
    </tr>
      <tr  >
        <td align="center">友情链接：<a href="http://www.google.com">Google </a>| <a href="http://cn.bing.com">Bing </a>| <a href="http://www.baidu.com">百度</a></td>
      </tr>
      <tr>
        <td align="center">邮箱地址：0100121215@live.com 联系电话：001401001</td>
      </tr>
      <tr>
        <td align="center">Copyright&copy; 2011-2013 版权所有AIRLINE.COM</td>
      </tr>
    </table>
    
     </div>
		</div>
	</body>
</html>
